package tt.dz.egobus.servicemanager.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import tt.dz.egobus.base.dao.BaseDao;
import tt.dz.egobus.servicemanager.base.service.AbstractExtendService;
import tt.dz.egobus.servicemanager.dao.BusTypeDao;
import tt.dz.egobus.servicemanager.entities.BusType;
import tt.dz.egobus.servicemanager.service.BusTypeService;

/**
 * @author Anson
 * @date 17-3-14
 * @name
 * @since 1.0.1
 */
@Service("busTypeServiceImpl")
public class BusTypeServiceImpl extends AbstractExtendService<BusType, String> implements BusTypeService {

    @Autowired
    @Qualifier("busTypeDaoImpl")
    private BusTypeDao dao;

    @Override
    protected BaseDao<BusType, String> getSelfDao() {
        return this.dao;
    }
}
